package com.tcat.count.client;

import com.tcat.count.pojo.Stock;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("item-service")
public interface StockClient {
    @GetMapping("/spec/queryStock/{id}")
    Stock queryStock(@PathVariable("id") Long id);

}
